package cn.org.IDao;

import java.util.List;

import cn.org.domain.Org;

public interface OrgMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Org record);

    int insertSelective(Org record);

    Org selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Org record);

    int updateByPrimaryKey(Org record);
    
    List<Org> getAllChildOrg(Org org);
    
    List<Org> getAllOrg();
    
    List<Org> getOrgByPerson(int id);
    
    Org selectByName(String name);
}